<template>
  <div>
    <h3>哥是SlotsDemo2</h3>

    <Son>
        <template #slot1="sp1">
            <h1>乌尔年方{{ sp1.sonAge }}的{{ sp1.sonName }}</h1>
        </template>

        <template #slot2="{sAge}">
            <span :style="{fontSize:50,color:'red'}">吾儿的芳龄{{ sAge }}</span>
        </template>
    </Son>

  </div>
</template>

<script>
import Son from './Son.vue';


export default {
    components:{
        Son
    }
};
</script>

<style lang="scss" scoped></style>
